//
//  CocoTextField.m
//  UI_02homeworkNO1
//
//  Created by dllo on 16/6/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CocoTextField.h"

@implementation CocoTextField

-(instancetype)initWithFrame:(CGRect)frame withText:(NSString *)placeholderText
{
    self = [super initWithFrame:frame];
    if (self) {
        self.placeholder = placeholderText;
        
        self.borderStyle = UITextBorderStyleRoundedRect;
        self.returnKeyType = UIReturnKeyDone;
    }
    return self;
}



@end
